package com.company.project.service.impl;

import com.company.project.dao.JdPhonesMapper;
import com.company.project.model.JdPhones;
import com.company.project.service.JdPhonesService;
import com.company.project.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by CodeGenerator on 2019/07/23.
 */
@Service
@Transactional
public class JdPhonesServiceImpl extends AbstractService<JdPhones> implements JdPhonesService {
    @Resource
    private JdPhonesMapper jdPhonesMapper;

	@Override
	public void insertForeach(List<JdPhones> list) {
		jdPhonesMapper.insertForeach(list);
	}
}
